package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.Clue;
import com.darren.euc.entity.ClueFollow;
import com.darren.euc.entity.ClueRemark;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface ClueService {
    
	public Clue save(Clue clue);
	
	public ClueFollow saveClueFollow(ClueFollow clueFollow);
	
	public ClueRemark saveClueRemark(ClueRemark clueRemark);
    
	public Clue update(Clue clue);
	
	public Clue findById(Integer id);
	
	public Clue delete(Clue clue);
    
	public List<Clue> getAll();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);

	/**
	 * 保存预约
	 * @param clue
	 * @return
	 */
	Clue saveReserve(Clue clue);
}